<template>
  <div>
    <div>我是父组件</div>
    <div><SonCom :msg='msg'></SonCom></div>
  </div>
</template>
 
<script>
import SonCom from "./SonCom.vue";
export default {
  name: "",
  components: {
    SonCom,
  },
  props: {},
  data() {
    return {
      msg:'Hello,Word'
    };
  },
  computed: {},
  watch: {},
  created() {},
  methods: {},
};
</script>

<style scoped>
</style>